package com.kt.mes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Arrays;
import java.util.List;

/**
 * 工艺路线详情对象 t_process_route_item
 * 
 * @author lzc
 * @date 2021-01-18
 */
public class ProcessRouteItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;
    //产品编号
    private String pId;
    /** 工艺编号 */
    @Excel(name = "工艺编号")
    private String prId;

    private  String  prName;

    /** 顺序 */
    @Excel(name = "顺序")
    private Integer priNum;

    /** 工序名称 */
    @Excel(name = "工序名称")
    private String priName;

    /** 工序内容 */
    @Excel(name = "工序内容")
    private String priContent;

    /** 工位编号 */
    @Excel(name = "工位编号")
    private String siteId;

    private String siteName;

    /** 执行动作 */
    @Excel(name = "执行动作")
    private String siteAct;

    private float workTime;

    private String proActName;

    private String plId;

    //参数
    private List<ProcessRouteItemParam> paramList;

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public String getProActName() {
        return proActName;
    }

    public void setProActName(String proActName) {
        this.proActName = proActName;
    }

    public List<ProcessRouteItemParam> getParamList() {
        return paramList;
    }

    public void setParamList(List<ProcessRouteItemParam> paramList) {
        this.paramList = paramList;
    }

    public String getPrName() {
        return prName;
    }

    public void setPrName(String prName) {
        this.prName = prName;
    }

    public String getPlId() {
        return plId;
    }

    public void setPlId(String plId) {
        this.plId = plId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public float getWorkTime() {
        return workTime;
    }

    public void setWorkTime(float workTime) {
        this.workTime = workTime;
    }

    public String getSiteName() {
        return siteName;
    }

    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }

    public Long getId()
    {
        return id;
    }
    public void setPrId(String prId) 
    {
        this.prId = prId;
    }

    public String getPrId() 
    {
        return prId;
    }
    public void setPriNum(Integer priNum) 
    {
        this.priNum = priNum;
    }

    public Integer getPriNum() 
    {
        return priNum;
    }
    public void setPriName(String priName) 
    {
        this.priName = priName;
    }

    public String getPriName() 
    {
        return priName;
    }
    public void setPriContent(String priContent) 
    {
        this.priContent = priContent;
    }

    public String getPriContent() 
    {
        return priContent;
    }
    public void setSiteId(String siteId) 
    {
        this.siteId = siteId;
    }

    public String getSiteId() 
    {
        return siteId;
    }
    public void setSiteAct(String siteAct) 
    {
        this.siteAct = siteAct;
    }

    public String getSiteAct() 
    {
        return siteAct;
    }

    @Override
    public String toString() {
        return "ProcessRouteItem{" +
                "prId='" + prId + '\'' +
                ", prName='" + prName + '\'' +
                ", priNum=" + priNum +
                ", priName='" + priName + '\'' +
                ", priContent='" + priContent + '\'' +
                ", siteId='" + siteId + '\'' +
                ", siteName='" + siteName + '\'' +
                ", siteAct='" + siteAct + '\'' +
                ", workTime=" + workTime +
                ", proActName='" + proActName + '\'' +
                ", paramList=" + Arrays.toString(this.getParamList().toArray()) +
                '}';
    }
}
